package conson.tech.manage.app.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import conson.tech.manage.app.entity.pojo.AppAdvert;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * InterfaceName: ChannelAdvertMapper
 * Description:
 * Author: HXL
 * Date: 2020/4/22 2:33 下午
 * Version: 1.0
 */
public interface AppAdvertMapper extends BaseMapper<AppAdvert> {

    Integer selectAdvertNumByPlaceId(@Param("placeId") Long id);

    Page<AppAdvert> queryAdvertPage(Page<AppAdvert> page,@Param("placeId") Long placeId);

    List<AppAdvert> queryAdvertListByPlaceId(@Param("placeId") Long placeId,@Param("versionValue") Integer versionValue);
}
